package com.zhou.JavaAndroidFirm.constract;

import com.zhou.JavaAndroidFirm.base.BaseModel;
import com.zhou.JavaAndroidFirm.base.BasePresenter;
import com.zhou.JavaAndroidFirm.bean.PhotoGirl;

import java.util.List;

import rx.Observable;

/**
 * @author Administrator
 * @date 2018/7/18 0018
 * @des
 */
public interface PhotosListContract {
    interface View extends BaseView {
        void returnPhotosListData(List<PhotoGirl> photoGirls);
    }

    interface Model extends BaseModel {
        Observable<List<PhotoGirl>> getPhotosListData(int size, int page);
    }

    abstract class Presenter extends BasePresenter<View, Model> {
        public abstract void getPhotosListData(int size, int page);
    }

}
